export const PLAN_NODE = {
  1: {
    key: 'PlanStart',
    label: '发起',
  },
  2: {
    key: 'GroupRecord',
    label: '分组录入',
  },
  3: {
    key: 'GroupAudit',
    label: '分组审批',
  },
  4: {
    key: 'KAPMAudit',
    label: 'KAPM总监审批',
  },
  5: {
    key: 'SalerAudit',
    label: '销售总监审批',
  },
  6: {
    key: 'SubmitAudit',
    label: '提交终版确认',
  },
  7: {
    key: 'KAPMConfirm',
    label: 'KAPM总监确认',
  },
  8: {
    key: 'SalerConfirm',
    label: '销售总监确认',
  },
  9: {
    key: 'PlanEnd',
    label: '详情',
  },
};

export const PLAN_TYPE = {
  BP: 'BP',
  RP: 'RP',
};

export const FORECAST_TYPE = {
  M9: 'M+9',
  M3: 'M+3',
};

export const FORECAST_NODE = {
  1: {
    key: 'Start',
    label: '发起',
  },
  2: {
    key: 'GroupRecord',
    label: '分组录入',
  },
  3: {
    key: 'GroupAuditFirst',
    label: '分组审批',
  },
  4: {
    key: 'KAPMAudit',
    label: 'KAPM总监审批',
  },
  5: {
    key: 'SalerAuditFirst',
    label: '销售总监审批1',
  },
  6: {
    key: 'EmitePreAllot',
    label: '录入预分配',
  },
  7: {
    key: 'GroupEmiteTotal',
    label: '分组录入销量预测',
  },
  8: {
    key: 'GroupAuditSecondary',
    label: '分组审批2',
  },
  9: {
    key: 'SalerAuditSecondary',
    label: '销售总监审批2',
  },
  10: {
    key: 'End',
    label: '详情',
  },
};

export const FORECAST_NODE_THREE = {
  1: {
    key: 'Start',
    label: '发起',
  },
  2: {
    key: 'GroupRecord',
    label: '分组录入FCST',
  },
  5: {
    key: 'SalerAuditFirst',
    label: '销售总监审批1',
  },
  6: {
    key: 'EmitePreAllot',
    label: '录入执行版本/供应计划',
  },
  7: {
    key: 'GroupEmiteTotal',
    label: '分组录入销量预测',
  },
  8: {
    key: 'GroupAuditSecondary',
    label: '分组审批',
  },
  9: {
    key: 'SalerAuditSecondary',
    label: '销售总监审批2',
  },
  10: {
    key: 'End',
    label: '详情',
  },
};

export const CLUE_TYPE = {
  creat: 'creat',
};
export const CLUE_NODE = {
  0: {
    key: 'ClueEdit',
    label: '编辑',
  },
  1: {
    key: 'DeparmentAudit',
    label: '部门主管审批',
  },
  2: {
    key: 'KAPMAudit',
    label: 'KAPM部长审批',
  },
  3: {
    key: 'SalerAudit',
    label: '销售部长审批',
  },
  4: {
    key: 'End',
    label: '结束',
  },
};
export const TRANSFER_NODE = {
  1: {
    key: 'KAPMTransfer',
    label: 'KAPM部长转派',
  },
  2: {
    key: 'SaleTransfer',
    label: '销售部长转派',
  },
  3: {
    key: 'End',
    label: '转派',
  },
};
export const TRANSFER_BUSINESS_NODE = {
  1: {
    key: 'SaleAudit',
    label: '销售部长审批',
  },
  2: {
    key: 'KapmChiefAudit',
    label: 'KAPM总监审批',
  },
  3: {
    key: 'SaleChiefAudit',
    label: '销售总监审批',
  },
  4: {
    key: 'End',
    label: '结束',
  },
};
export const BUSINESS_NODE = {
  0: {
    key: 'BusinessDetaile',
    label: '商机信息跟进',
  },
  1: {
    key: 'BusinessSubmit',
    label: '商机信息确认',
  },
  2: {
    key: 'BusinessDecision',
    label: '商机决策',
  },
  3: {
    key: 'BusinessBid',
    label: '投标',
  },
  4: {
    key: 'BusinessProject',
    label: '立项',
  },
  5: {
    key: 'BusinessResearch',
    label: '产品研发及验证',
  },
  6: {
    key: 'BusinessVerify',
    label: '商机认证',
  },
  7: {
    key: 'BusinessOrder',
    label: '赢单',
  },
  8: {
    key: 'BusinessDetaile',
    label: '结束',
  },
};
export const PRICE_NODE = {
  1: {
    key: 'PriceStart',
    label: '发起变更',
  },
  2: {
    key: 'SalesDirecorAudits',
    label: '销售部长审批',
  },
  3: {
    key: 'SalesDirecorAudits',
    label: '销售管理审批',
  },
  4: {
    key: 'SalesDirecorAudits',
    label: '销售总监审批',
  },
  5: {
    key: 'SalesDirecorAudits',
    label: '结束',
  },
};

export const M_TEMPLATE = {
  m9fcst: 1,
  m9pre: 2,
  m9sales: 3,
  m3fcst: 4,
  m3pre: 5,
  m3supply: 6,
  m3sales: 7,
  m9Total: 8,
  m3Total: 9,
};

export const CUSTOMER_NODE = {
  1: {
    key: 'EditCustomer',
    label: '潜客创建',
  },
  2: {
    key: 'DeparmentAudit',
    label: '部门主管审批',
  },
  3: {
    key: 'KapmChiefAudit',
    label: 'KAPM总监审批',
  },
  4: {
    key: 'SaleChiefAudit',
    label: '销售总监审批',
  },
  5: {
    key: 'End',
    label: '结束',
  },
  6: {
    key: 'AddCustomer',
    label: '新增潜客',
  },
};
